﻿<Application xmlns="http://schemas.microsoft.com/client/2007"             
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="SLAdmin.App"
             xmlns:extended="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
             xmlns:liquid="clr-namespace:Liquid;assembly=Liquid"
             xmlns:images="clr-namespace:SLAdmin.Images"    
             xmlns:extensions="clr-namespace:SLExtensions.Controls;assembly=SLExtensions.Controls"
             xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
             >
    <Application.Resources>                
        
        <!--JOE STYLES-->
        <Style TargetType="extensions:DockPanel" x:Key="MainDockBackground">
            <Setter Property="LastChildFill" Value="True"/>
            
        </Style>
        <Style TargetType="Grid" x:Key="MainDockBackground2">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="Black" Offset="0"/>                        
                        <GradientStop Color="Gray" Offset=".05"/>
                        <GradientStop Color="LightGray" Offset=".2"/>
                        <GradientStop Color="Gray" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>

        <Style TargetType="extensions:DockPanel" x:Key="DockMainTabPage">
            <Setter Property="LastChildFill" Value="True"/>            
        </Style>
        <Style TargetType="TextBox" x:Key="TextBoxMainHeadline">
            <Setter Property="Background" Value="Transparent"/>            
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="BorderBrush" Value="Transparent"/>
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="Height" Value="40"/>
            <Setter Property="Margin" Value="0,0,5,0"/>
            <Setter Property="FontSize" Value="23"/>
        </Style>
        <Style TargetType="Border" x:Key="BorderBottomPanel">
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="Height" Value="50"/>
            <Setter Property="BorderBrush" Value="Black"/>
            <Setter Property="Padding" Value="5"/>
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="Gray" Offset=".1"/>
                        <GradientStop Color="LightGray" Offset=".2"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>            
        </Style>
        <Style TargetType="Border" x:Key="BorderTabBottomPanel">
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="Height" Value="50"/>
            <Setter Property="BorderBrush" Value="Transparent"/>
            <Setter Property="Padding" Value="5"/>  
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="LightGray" Offset=".3"/>
                        <GradientStop Color="White" Offset=".6"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style TargetType="Border" x:Key="BorderTabBottomPanelNoHeight">
            <Setter Property="BorderThickness" Value="0"/>            
            <Setter Property="BorderBrush" Value="Transparent"/>
            <Setter Property="Padding" Value="5"/>
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="LightGray" Offset=".3"/>
                        <GradientStop Color="White" Offset=".6"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style TargetType="TextBlock" x:Key="TextBlockTabName">
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="Margin" Value="5,0,0,0"/>
            <Setter Property="FontSize" Value="15"/>            
        </Style>
        <Style TargetType="ScrollViewer" x:Key="ScrollViewerTabWindow">
            <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/>
            <Setter Property="VerticalScrollBarVisibility" Value="Visible"/>
            <Setter Property="HorizontalAlignment" Value="Stretch"/>
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="VerticalAlignment" Value="Stretch"/>
        </Style>
        <Style TargetType="TextBlock" x:Key="TextBlockItemLabel">
            <Setter Property="VerticalAlignment" Value="Stretch"/>
        </Style>
        <Style TargetType="TextBox" x:Key="TextBoxLargeInput">
            <Setter Property="Height" Value="200"/>
            <Setter Property="HorizontalAlignment" Value="Stretch"/>
            <Setter Property="AcceptsReturn" Value="True"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
        </Style>
        <Style TargetType="TextBox" x:Key="TextBoxSingleLineInputShort">
            <Setter Property="HorizontalAlignment" Value="Left"/>
            <Setter Property="Width" Value="200"/>
            <Setter Property="Height" Value="25"/>
        </Style>
        <Style TargetType="TextBox" x:Key="TextBoxSingleLineInputLong">
            <Setter Property="HorizontalAlignment" Value="Left"/>
            <Setter Property="Width" Value="350"/>
            <Setter Property="Height" Value="25"/>
        </Style>
        <Style TargetType="extended:DatePicker" x:Key="DatePickerInputStyle">
            <Setter Property="Width" Value="200"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>
        </Style>
        <!--COMMON BUTTONS-->
        <Style TargetType="Button" x:Key="Button_Save">
            <Setter Property="Width" Value="75"/>
            <Setter Property="Height" Value="35"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>            
        </Style>
        <Style TargetType="Button" x:Key="ButtonMedium">
            <Setter Property="Width" Value="150"/>
            <Setter Property="Height" Value="35"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>
        </Style>
        <Style TargetType="data:DataGrid" x:Key="GenericDataGrid">
            <Setter Property="AutoGenerateColumns" Value="False"/>
        </Style>
    </Application.Resources>
</Application>
